aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshot...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-12-16 14:39:10 +0000
committerMichael Williamson <mike@zwobble.org>2023-12-16 14:39:38 +0000
commit9bbc9fb8a4666e7c084f56916e993cb07ea4dabd (patch)
treea9dbe1af76ab00821c6a9972effdec9492c087ba /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parentfeeb048fe9ab2e2d9f748a6028a8ca05d8a8eacf (diff)
Add mark for GC objects
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected12
1 files changed, 6 insertions, 6 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
index d05ee160..2ccf0329 100644
--- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineStructTests]/[method:canGenerateCodeForDefineStruct(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -7,25 +7,25 @@ Compilation unit elements:
locals=((param "closurePointer__0" data-ptr) (param "local__isActive" int) (param "local__name" int) (val "structValuePointer__0" data-ptr) (val "structValue__0" int))
return-type=int
body=(
- (alloc-heap (local "structValuePointer__0") (struct (data-ptr (struct (int (struct (int int)))))))
+ (alloc-heap (local "structValuePointer__0") (struct ((struct (data-ptr int)) (struct (int (struct (int int)))))))
(
memory-store
pointer=(local "structValuePointer__0")
- layout=(struct (data-ptr (struct (int (struct (int int))))))
+ layout=(struct ((struct (data-ptr int)) (struct (int (struct (int int))))))
offset=(1 0)
value=(int 0)
)
(
memory-store
pointer=(local "structValuePointer__0")
- layout=(struct (data-ptr (struct (int (struct (int int))))))
+ layout=(struct ((struct (data-ptr int)) (struct (int (struct (int int))))))
offset=(1 1 0)
value=(local "local__name")
)
(
memory-store
pointer=(local "structValuePointer__0")
- layout=(struct (data-ptr (struct (int (struct (int int))))))
+ layout=(struct ((struct (data-ptr int)) (struct (int (struct (int int))))))
offset=(1 1 1)
value=(local "local__isActive")
)
@@ -41,11 +41,11 @@ Locals:
Instructions:
(
- (alloc-heap (local "closurePointer__User__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct ()))))))
+ (alloc-heap (local "closurePointer__User__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ()))))))
(
memory-store
pointer=(local "closurePointer__User__0")
- layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct ())))))
+ layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ())))))
offset=(1 0)
value=(function-ptr "shed__function__User__0")
)